﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeFile="Addpatient.aspx.cs" Inherits="FYP14.AddPatient" %>
<%@ Register TagPrefix="DTC" TagName="DateTimeControl" Src="~/DateTimePicker.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="adminpnl" runat="server">
    <div class="right_content">
        <h2>Add New Patient</h2>
    </div>
    <div>
        <table>
            <tr>
                <td>
                    Name
                </td>
                <td>
                    <img src="img/0.png" class="NFTextLeft"/>
                    <div class="NFTextCenter">
                    <asp:TextBox ID="txtName" runat="server" CssClass="NFText" required></asp:TextBox>
                    </div>
                    <img src="img/0.png" class="NFTextRight"/>
                </td>
            </tr>
            <tr>
                <td>
                    Date Of Birth
                </td>
                <td>
                    <DTC:DateTimeControl ID="dtcdate" runat="server" CssClass="NFText" required/>
                </td>
            </tr>
            <tr>
                <td>
                    Record No
                </td>
                <td>
                    <img src="img/0.png" class="NFTextLeft"/>
                    <div class="NFTextCenter">
                    <asp:TextBox ID="txtrecord_no" runat="server" CssClass="NFText" required></asp:TextBox>
                        </div>
                    <img src="img/0.png" class="NFTextRight"/>
                </td>
            </tr>
            <tr>
                <td>
                    NIC
                </td>
                <td>
                    <img src="img/0.png" class="NFTextLeft"/>
                    <div class="NFTextCenter">
                    <asp:TextBox ID="txtnic" runat="server" CssClass="NFText" required></asp:TextBox>
                        </div>
                    <img src="img/0.png" class="NFTextRight"/>
                </td>
            </tr>
            <tr>
                <td>
                    Gender
                </td>
                <td>
                    <img src="img/0.png" class="NFTextLeft"/>
                    <div class="NFTextCenter">
                    <asp:TextBox ID="txtgender" runat="server" CssClass="NFText" required></asp:TextBox>
                        </div>
                    <img src="img/0.png" class="NFTextRight"/>
                </td>
            </tr>
            <tr>
                <td>
                    Age
                </td>
                <td>
                    <img src="img/0.png" class="NFTextLeft"/>
                    <div class="NFTextCenter">
                    <asp:TextBox ID="txtage" runat="server" CssClass="NFText" required></asp:TextBox>
                        </div>
                    <img src="img/0.png" class="NFTextRight"/>
                </td>
            </tr>
            <tr>
                <td>
                    Contact Number
                </td>
                <td>
                    <img src="img/0.png" class="NFTextLeft"/>
                    <div class="NFTextCenter">
                    <asp:TextBox ID="txtcontact_number" runat="server" CssClass="NFText" required></asp:TextBox>
                        </div>
                    <img src="img/0.png" class="NFTextRight"/>
                </td>
            </tr>
            <tr>
                <td>
                    Address
                </td>
                <td>
                    <img src="img/0.png" class="NFTextLeft"/>
                    <div class="NFTextCenter">
                    <asp:TextBox ID="txtaddress" runat="server" CssClass="NFText" required></asp:TextBox>
                        </div>
                    <img src="img/0.png" class="NFTextRight"/>
                </td>
            </tr>
            <tr>
                <td align="right" colspan="2">
                    <!-- <asp:Button id="btnCancel" Text="Cancel" runat="server" OnClick="btnCancel_Click" /> -->
                    <asp:Button id="btnSave" Text="Save" runat="server" OnClick="btnSave_Click"/>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
